(calculator-expt, calculator-integer-p): New functions.
authorJay Belanger <jay.p.belanger@gmail.com>
Wed, 4 Jul 2007 04:17:21 +0000 (04:17 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Wed, 4 Jul 2007 04:17:21 +0000 (04:17 +0000)
commit5e8afe739e497e118801ed84f4d4804fd9db0967
tree43bf74aea6bc610c1fda9ca26d91a38941b05c98
parent216a216eab5d9245d95803e68ca28c7258e46b4d
(calculator-expt, calculator-integer-p): New functions.
(calculator-fact): Check to see if the factorial will be too large
before computing it.
(calculator-initial-operators): Use `calculator-expt' to compute "^".
(calculator-mode): Mention that results which are too large will return inf.
lisp/calculator.el